#ifndef STATICANIMATION_H
#define STATICANIMATION_H

#include <SFML/Graphics.hpp>
#include <string>
using namespace std;
using namespace sf;

class StaticAnimation{
protected:
    static float frame_speed;
    float x;
    float y;
    float cur_frame;//0<=>numframe
    int num_frame;
    string name;

public:
    StaticAnimation(string name, int num_frame);
    void setPosition(float x, float y);
    void setName(string name);
    void animate(float time);
    string getFramePath();
    float getX();
    float getY();
};
#endif // STATICANIMATION_H
